using System;
using System.IO;
using System.Collections;
using System.Globalization;
using System.Threading;

using Office = Microsoft.Office.Core;
using System.Diagnostics;
using System.Reflection;

namespace bOSdotNET.Microsoft.Office
{
	/// <summary>
	/// Summary description for OfficeHelper.
	/// </summary>
	public class OfficeHelper
	{
		public OfficeHelper()
		{
			//
			// TODO: Add constructor logic here
			//
		}

		static public void RunMacro(object oApp, object[] oRunArgs)
		{
			oApp.GetType().InvokeMember("Run",
				System.Reflection.BindingFlags.Default |
				System.Reflection.BindingFlags.InvokeMethod,
				null, oApp, oRunArgs);
		}
	}
}
